home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / Universal Viewer / UniversalViewer.exe / Plugins / Syn2 / HL / MyInternalGramma.lcf < prev    next >
Encoding:
Text File  |  2007-12-12  |  4.1 KB  |  184 lines

  1. object SyntAnal28: TLibSyntAnalyzer
  2.   Formats = <
  3.     item
  4.       DisplayName = 'Default'
  5.       Font.Charset = DEFAULT_CHARSET
  6.       Font.Color = clWindowText
  7.       Font.Height = -13
  8.       Font.Name = 'Courier New'
  9.       Font.Style = []
  10.       FormatType = ftCustomFont
  11.     end
  12.     item
  13.       DisplayName = 'Marked block'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clHighlightText
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = []
  19.       BgColor = clHighlight
  20.       FormatType = ftColor
  21.     end
  22.     item
  23.       DisplayName = 'Rule'
  24.       Font.Charset = DEFAULT_CHARSET
  25.       Font.Color = clWindowText
  26.       Font.Height = -13
  27.       Font.Name = 'Courier New'
  28.       Font.Style = []
  29.     end
  30.     item
  31.       DisplayName = 'Term'
  32.       Font.Charset = DEFAULT_CHARSET
  33.       Font.Color = clBlue
  34.       Font.Height = -13
  35.       Font.Name = 'Courier New'
  36.       Font.Style = [fsBold]
  37.     end
  38.     item
  39.       DisplayName = 'TermNoCase'
  40.       Font.Charset = DEFAULT_CHARSET
  41.       Font.Color = clNavy
  42.       Font.Height = -13
  43.       Font.Name = 'Courier New'
  44.       Font.Style = [fsBold]
  45.     end
  46.     item
  47.       DisplayName = 'Comment'
  48.       Font.Charset = DEFAULT_CHARSET
  49.       Font.Color = clRed
  50.       Font.Height = -13
  51.       Font.Name = 'Courier New'
  52.       Font.Style = []
  53.     end
  54.     item
  55.       DisplayName = 'Symbol'
  56.       Font.Charset = DEFAULT_CHARSET
  57.       Font.Color = clPurple
  58.       Font.Height = -13
  59.       Font.Name = 'Courier New'
  60.       Font.Style = [fsBold]
  61.     end
  62.     item
  63.       DisplayName = 'Token type'
  64.       Font.Charset = DEFAULT_CHARSET
  65.       Font.Color = clGreen
  66.       Font.Height = -13
  67.       Font.Name = 'Courier New'
  68.       Font.Style = []
  69.     end
  70.     item
  71.       DisplayName = 'Rule Ident'
  72.       Font.Charset = DEFAULT_CHARSET
  73.       Font.Color = clWindowText
  74.       Font.Height = -13
  75.       Font.Name = 'Courier New'
  76.       Font.Style = [fsBold]
  77.     end>
  78.   TokenRules = <
  79.     item
  80.       DisplayName = 'Comment 1'
  81.       StyleName = 'Comment'
  82.       Expression = '//.*'#13#10
  83.       ColumnFrom = 0
  84.       ColumnTo = 0
  85.     end
  86.     item
  87.       DisplayName = 'Comment 2'
  88.       StyleName = 'Comment'
  89.       Expression = '(?s)/\*.*?(\*/|\Z)'#13#10
  90.       ColumnFrom = 0
  91.       ColumnTo = 0
  92.     end
  93.     item
  94.       DisplayName = 'Term'
  95.       StyleName = 'Term'
  96.       TokenType = 1
  97.       Expression = '".*?"'#13#10
  98.       ColumnFrom = 0
  99.       ColumnTo = 0
  100.     end
  101.     item
  102.       DisplayName = 'TermNoCase'
  103.       StyleName = 'TermNoCase'
  104.       TokenType = 2
  105.       Expression = #39'.*?'#39#13#10
  106.       ColumnFrom = 0
  107.       ColumnTo = 0
  108.     end
  109.     item
  110.       DisplayName = 'Token rule'
  111.       StyleName = 'Token type'
  112.       TokenType = 7
  113.       Expression = '<.*?>'#13#10
  114.       ColumnFrom = 0
  115.       ColumnTo = 0
  116.     end
  117.     item
  118.       DisplayName = 'Rule'
  119.       StyleName = 'Rule'
  120.       TokenType = 3
  121.       Expression = '\w+'#13#10
  122.       ColumnFrom = 0
  123.       ColumnTo = 0
  124.     end
  125.     item
  126.       DisplayName = 'Equal'
  127.       StyleName = 'Symbol'
  128.       TokenType = 4
  129.       Expression = '='#13#10
  130.       ColumnFrom = 0
  131.       ColumnTo = 0
  132.     end
  133.     item
  134.       DisplayName = 'Or'
  135.       StyleName = 'Symbol'
  136.       TokenType = 5
  137.       Expression = '\|'#13#10
  138.       ColumnFrom = 0
  139.       ColumnTo = 0
  140.     end
  141.     item
  142.       DisplayName = 'Rule stop'
  143.       StyleName = 'Symbol'
  144.       TokenType = 6
  145.       Expression = ';'#13#10
  146.       ColumnFrom = 0
  147.       ColumnTo = 0
  148.     end>
  149.   BlockRules = <
  150.     item
  151.       DisplayName = 'Rule detect'
  152.       StyleName = 'Rule Ident'
  153.       BlockType = btTagDetect
  154.       ConditionList = <
  155.         item
  156.           TokenTypes = 16
  157.         end
  158.         item
  159.           TokenTypes = 8
  160.         end>
  161.       IdentIndex = 1
  162.       HighlightPos = cpAny
  163.       IgnoreAsParent = False
  164.     end>
  165.   CodeTemplates = <>
  166.   SubAnalyzers = <>
  167.   TokenTypeNames.Strings = (
  168.     'Comment'
  169.     'Term'
  170.     'TermNoCase'
  171.     'Rule'
  172.     'Equal'
  173.     'Or'
  174.     'Stop'
  175.     'Token rule ref.')
  176.   MarkedBlockStyle = 'Marked block'
  177.   DefaultStyleName = 'Default'
  178.   Extentions = 'zg'
  179.   LexerName = 'My internal gramma'
  180.   Internal = True
  181.   Left = 140
  182.   Top = 160
  183. end
  184.